<template>
  <view>
    <web-view :src="webUrl" class="webview" :style="{height: windowHeight + 'px'}"></web-view>
  </view>
</template>

<script setup>
import { ref, provide } from "vue";
import {onLoad, onReady} from "@dcloudio/uni-app";
const webUrl = ref();
onLoad(function (options) {
  console.log('webUrl=', options.url)
  webUrl.value = options.url;
});
</script>


<style scoped lang="scss">

</style>
